package com.foreknow;

import com.xianzhi.web.AdminAction;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Text {
    public static void main(String[] args) {
        ApplicationContext applicationContext=new ClassPathXmlApplicationContext("applicationContext.xml");
        AdminAction adminAction=(AdminAction) applicationContext.getBean("adminAction");
        adminAction.execute();
    }
}
